package com.young.springdemo.service.template;

//定期存款账户
public class SavingAccount extends Account {
    @Override
    public double calculateInterest() {
        System.out.println("定期存款计算利息");
        return 1000;
    }
}
